<?php
/**
 * The main template file.
 *
 * Bạn đang sử dụng template được xây dựng bởi cống ty TNHH Quả Anh Đào
 * 
 * 
 * 
 * Learn more: http://quaanhdao.vn
 * @package DoanhnghiepWeb500K
 * @subpackage web500k
 * @since 2012
 */
get_header(); ?>
<div class="cy-content">
	<?php //sssget_sidebar();?>
    <h2><ul><li>Tin tức mới nhất</li></ul></h2>
    <div class="cy-index-left">
    <ul>
    <?php
    $loop = new WP_Query(array('post_type'=>'news','posts_per_page'=>10,'order'=>'DESC'));?>
    <?php while ( $loop->have_posts() ) : $loop->the_post(); //bat dau vong lap ?>
    <li><a href="<?php the_permalink()?>"><?php the_title();?></a></li>
    <?php endwhile; //ket thuc vong lap ?>
    <?php wp_reset_query();?>
    </ul>
    </div><!--cy-index-left-->
    
    <div class="cy-index-right">
     <h2><ul><li>Sản phẩm tiêu biểu</li></ul></h2>
    <ul id="tab_product" class="tab_product">
			<li class="active"><a class="active" href="#check-product-1">1</a></li>
			<li><a href="#check-product-2">2</a></li>
			<li><a href="#check-product-3">3</a></li>
            <li><a href="#check-product-4">4</a></li>
            <li><a href="#check-product-5">5</a></li>
		</ul>
		<div id="check-product-1" class="content">
			
				The limerick packs laughs anatomical<br />
			    In space that is quite economical,<br />

			    But the good ones I've seen<br />
			    So seldom are clean,<br />
			    And the clean ones so seldom are comical.
			
		</div>
		<div id="check-product-2" class="content">

				Let my viciousness be emptied,<br />
			    Desire and lust banished,<br />
			    Charity and patience,<br />
			    Humility and obedience,<br />
			    And all the virtues increased.
	
		</div>

		<div id="check-product-3" class="content">
			Hickere, Dickere Dock,<br />
		    A Mouse ran up the Clock,<br />
		    The Clock Struck One,<br />
		    The Mouse fell down,<br />

		    And Hickere Dickere Dock.
		</div>
        <div id="check-product-4" class="content">
			Hickere, Dickere Dock,<br />
		    A Mouse ran up the Clock,<br />
		    The Clock Struck One,<br />
		    The Mouse fell down,<br />

		    And Hickere Dickere Dock.
		</div>
        <div id="check-product-5" class="content">
			Hickere, Dickere Dock,<br />
		    A Mouse ran up the Clock,<br />
		    The Clock Struck One,<br />
		    The Mouse fell down,<br />

		    And Hickere Dickere Dock.
		</div>
    
    </div><!--cy-index-right-->
    <img src="<?php bloginfo('template_directory');?>/_img/index_06.jpg" />
</div><!--cy-content-->
<?php get_footer(); ?>